package com.demo.model.shebeixinxi;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//设备信息实体类
@Data
public class shebeixinxi {

    //编号
    private Integer number;

    //名称
    private String name;

    //编码
    private Integer code;

    //型号
    private String model;

    //生产日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dateManufacture;

    //生产批号
    private String batchNumber;

    //制造商
    private String manuFacturer;

    //设备状态(0空闲、
    //1使用中、2故障)
    private Integer deviceStatus;

    //备注
    private String notes;


}
